package com.weixing.mall.provider.model.enums.sys;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * 菜单归属系统分类
 *
 * @author : kfc
 * @since v2
 */

@NoArgsConstructor
public enum SysFlag implements IBaseEnum<Integer> {
    SYS(1,"管理后台"),
    AGENT(2,"代理后台"),
    ;
    private int value;
    private String desp;

    SysFlag(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
